package com.hx.vending.bean;

/**
 * Created by Administrator on 2019/1/4.
 * 订单商品货道信息
 */
public class OrderBuy {

    /**
     * id
     */
    private Integer orderBuyId;

    /**
     * 父订单id
     */
    private Integer orderBuyParentId;

    /**
     * 支付类型（0线上订单   1线下订单）
     */
    private Integer orderBuyType;

    /**
     * 货道id
     */
    private Integer orderBuyTrailsId;

    /**
     * 货道编号
     */
    private String orderBuyTrailsNumber;

    /**
     * 商品id
     */
    private Integer orderBuyGoodsId;

    /**
     * 商品名称
     */
    private String orderBuyGoodsName;

    /**
     * 商品图片
     */
    private String orderBuyGoodsPicture;

    /**
     * 商品单价
     */
    private Double orderBuyGoodsPrice;

    /**
     * 货道位置
     */
    private String orderBuyPosition;
    /**
     * 机箱id
     */
    private Integer orderBuyCaseId;

    /**
     * 出货状态(0.未出货  1.已出货  2.出货失败)
     */
    private Integer orderBuyState;

    /**
     * 退款状态(0.未退款  1.已退款  2.退款失败)
     */
    private Integer orderBuyRefund;

    /**
     * 商品备注
     */
    private String goodsRemark;

    /**
     * 货道类型
     */
    private Integer orderBuyTrailsType;


    public Integer getOrderBuyId() {
        return orderBuyId;
    }

    public void setOrderBuyId(Integer orderBuyId) {
        this.orderBuyId = orderBuyId;
    }

    public Integer getOrderBuyParentId() {
        return orderBuyParentId;
    }

    public void setOrderBuyParentId(Integer orderBuyParentId) {
        this.orderBuyParentId = orderBuyParentId;
    }

    public Integer getOrderBuyType() {
        return orderBuyType;
    }

    public void setOrderBuyType(Integer orderBuyType) {
        this.orderBuyType = orderBuyType;
    }

    public Integer getOrderBuyTrailsId() {
        return orderBuyTrailsId;
    }

    public void setOrderBuyTrailsId(Integer orderBuyTrailsId) {
        this.orderBuyTrailsId = orderBuyTrailsId;
    }

    public String getOrderBuyTrailsNumber() {
        return orderBuyTrailsNumber;
    }

    public void setOrderBuyTrailsNumber(String orderBuyTrailsNumber) {
        this.orderBuyTrailsNumber = orderBuyTrailsNumber;
    }

    public Integer getOrderBuyGoodsId() {
        return orderBuyGoodsId;
    }

    public void setOrderBuyGoodsId(Integer orderBuyGoodsId) {
        this.orderBuyGoodsId = orderBuyGoodsId;
    }

    public String getOrderBuyGoodsName() {
        return orderBuyGoodsName;
    }

    public void setOrderBuyGoodsName(String orderBuyGoodsName) {
        this.orderBuyGoodsName = orderBuyGoodsName;
    }

    public String getOrderBuyGoodsPicture() {
        return orderBuyGoodsPicture;
    }

    public void setOrderBuyGoodsPicture(String orderBuyGoodsPicture) {
        this.orderBuyGoodsPicture = orderBuyGoodsPicture;
    }

    public Double getOrderBuyGoodsPrice() {
        return orderBuyGoodsPrice;
    }

    public void setOrderBuyGoodsPrice(Double orderBuyGoodsPrice) {
        this.orderBuyGoodsPrice = orderBuyGoodsPrice;
    }

    public String getOrderBuyPosition() {
        return orderBuyPosition;
    }

    public void setOrderBuyPosition(String orderBuyPosition) {
        this.orderBuyPosition = orderBuyPosition;
    }

    public Integer getOrderBuyState() {
        return orderBuyState;
    }

    public void setOrderBuyState(Integer orderBuyState) {
        this.orderBuyState = orderBuyState;
    }

    public String getGoodsRemark() {
        return goodsRemark;
    }

    public void setGoodsRemark(String goodsRemark) {
        this.goodsRemark = goodsRemark;
    }

    public Integer getOrderBuyRefund() {
        return orderBuyRefund;
    }

    public void setOrderBuyRefund(Integer orderBuyRefund) {
        this.orderBuyRefund = orderBuyRefund;
    }

    public Integer getOrderBuyCaseId() {
        return orderBuyCaseId;
    }

    public void setOrderBuyCaseId(Integer orderBuyCaseId) {
        this.orderBuyCaseId = orderBuyCaseId;
    }

    public Integer getOrderBuyTrailsType() {
        return orderBuyTrailsType;
    }

    public void setOrderBuyTrailsType(Integer orderBuyTrailsType) {
        this.orderBuyTrailsType = orderBuyTrailsType;
    }

    @Override
    public String toString() {
        return "OrderBuy{" +
                "orderBuyId=" + orderBuyId +
                ", orderBuyParentId=" + orderBuyParentId +
                ", orderBuyType=" + orderBuyType +
                ", orderBuyTrailsId=" + orderBuyTrailsId +
                ", orderBuyTrailsNumber='" + orderBuyTrailsNumber + '\'' +
                ", orderBuyGoodsId=" + orderBuyGoodsId +
                ", orderBuyGoodsName='" + orderBuyGoodsName + '\'' +
                ", orderBuyGoodsPicture='" + orderBuyGoodsPicture + '\'' +
                ", orderBuyGoodsPrice=" + orderBuyGoodsPrice +
                ", orderBuyPosition='" + orderBuyPosition + '\'' +
                ", orderBuyCaseId=" + orderBuyCaseId +
                ", orderBuyState=" + orderBuyState +
                ", orderBuyRefund=" + orderBuyRefund +
                ", goodsRemark='" + goodsRemark + '\'' +
                ", orderBuyTrailsType=" + orderBuyTrailsType +
                '}';
    }
}
